package com.itheima.web.controller;

import com.itheima.web.manager.AnalysisManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 请不要叫我高司令
 * @Date 2022/3/26 22:36
 * @Version 1.0
 */

@RestController
public class AnalysisController {

    @Autowired
    private AnalysisManager analysisManager;

    //概要统计信息
    @GetMapping("/dashboard/summary")
    public ResponseEntity summary() {

        return analysisManager.summary();

    }


}
